package edu.hwadee.entity;

/**
 * Goodssource entity. @author MyEclipse Persistence Tools
 */

public class Goodssource implements java.io.Serializable {

	// Fields

	private Integer goodsSourceId;
	private String goodsType;
	private String goodsName;
	private String unit;
	private Float price;
	private Integer quantity;

	// Constructors

	/** default constructor */
	public Goodssource() {
	}

	/** full constructor */
	public Goodssource(String goodsType, String goodsName, String unit, Float price, Integer quantity) {
		this.goodsType = goodsType;
		this.goodsName = goodsName;
		this.unit = unit;
		this.price = price;
		this.quantity = quantity;
	}

	// Property accessors

	public Integer getGoodsSourceId() {
		return this.goodsSourceId;
	}

	public void setGoodsSourceId(Integer goodsSourceId) {
		this.goodsSourceId = goodsSourceId;
	}

	public String getGoodsType() {
		return this.goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

}